﻿using B.S.Orders.ErrorCord;
using MediatR;

namespace B.S.Orders.Write.Api.Application.Command.DispatchProductCommand
{
    public class AddDispatchDetailsCommand : IRequest<APIResult<object>>
    {
        /// <summary>
        /// 派工主题
        /// </summary>
        public string DispatchTheme { get; set; }
        /// <summary>
        /// 被派人员
        /// </summary>
        public string AssignedPersonnel { get; set; }
        /// <summary>
        /// 订单数量
        /// </summary>
        public int OrderQuantity { get; set; }
        /// <summary>
        /// 已派工数量
        /// </summary>
        public int DispatchedSum { get; set; }
        /// <summary>
        /// 本次派工数量
        /// </summary>
        public int DispatchedNumber { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string ProductNumber { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string Specifications { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 派工批号
        /// </summary>
        public string DispatchProductNo { get; set; }
        /// <summary>
        /// 生产类型
        /// </summary>
        public string ProduceType { get; set; }
        /// <summary>
        /// 物料清单
        /// </summary>
        public string BillMaterials { get; set; }
        /// <summary>
        /// 计划开工日期
        /// </summary>
        public DateTime ConstructionPlannedDate { get; set; }
        /// <summary>
        /// 计划完工日期
        /// </summary>
        public DateTime ScheduledCompletionDate { get; set; }
        /// <summary>
        /// 交货日期
        /// </summary>
        public DateTime Delivery { get; set; }
        /// <summary>
        /// 备注
        /// </summary>w
        public string Remark { get; set; }
        /// <summary>
        /// 派工表主键
        /// </summary>
        public int DispatchProductId { get; set; }
    }
}
